package cn.kw0501.tms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 需求单表
 * </p>
 *
 * @author Aedes
 * @since 2022-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("order_need")
public class Need implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 店铺id
     */
    private String shopId;

    /**
     * 确认人id
     */
    private String confirmAdminId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 确认时间
     */
    private LocalDateTime confirmTime;

    /**
     * 结束时间
     */
    private LocalDateTime endTime;

    /**
     * 状态0.未确认,1.配送中,2.完成,3.已拒绝
     */
    private Integer state;

    /**
     * 驳回原因
     */
    private String reject;


}
